<template>
  <view class="approval-item">
    <CommonHeader>报销申请</CommonHeader>
    <view class="approval-content">
      <CommonInfo approvalType="报销" />
      <view class="input-area">
        <Field label="发票信息" @getValue="getFiles" />
        <SelectList
          label="报销类型"
          :selectList="reimbursementTypeList"
          @getSelectData="getReimbursementType"
        />
        <Field label="实际报销金额" @getValue="getAcAmount" />
        <Field label="借款金额" @getValue="getBoAmount" />
        <Field label="报销金额" @getValue="getReAmount" />
      </view>
      <ApprovalButton
        :warn="warn"
        :approvalType="'reimbursement'"
        :procInfo="{
          acAmount: approval.acAmount,
          boAmount: approval.boAmount,
          files: approval.files,
          reAmount: approval.reAmount,
          reimbursementType: approval.reimbursementType,
        }"
      />
    </view>
    <van-toast id="van-toast" />
  </view>
</template>
<script src="./script.js"></script>
<style lang="less" src="./style.less"></style>
